package com.effectiv.gooruda.rest.domain;



import java.util.Map;

import org.springframework.data.mongodb.core.mapping.Document;

import com.effectiv.gooruda.domain.Application;
import com.effectiv.gooruda.domain.Tenant;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@ToString
@Document(collection="t_api_audit")

public class ApiRequestAuditEntry extends PesistentBase{
	
	@Getter @Setter
	private Map<String, String> headers;
	
	@Getter @Setter
	private Map<String, String> queryParams;
	
	@Getter @Setter
	private Map<String, String> pathParams;
	
	@Getter @Setter
	private String apiPath;
	
	@Getter @Setter
	private String remoteHost;
	
	@Getter @Setter
	private String language;
	
	@Getter @Setter
	private String media;
	
	@Getter @Setter
	private String method;
	
	@Getter @Setter
	private Application application;
	
	@Getter @Setter
	private String api;
	
	@Getter @Setter
	private Tenant tenant;
}

